package com.liao.service;

import com.liao.bean.Param;
import com.liao.bean.result.PageResult;

public interface ParamService {
    /**
     * 根据参数键名模糊查询列表
     * @param currentPage
     * @param pageSize
     * @param paramKey
     * @return
     * @throws Exception
     */
    PageResult<Param> queryParamListByPage(Integer currentPage, Integer pageSize, String paramKey) throws Exception;

    /**
     * 添加会员
     * @param param
     * @throws Exception
     */
    void addParam(Param param) throws Exception;

    /**
     * 修改会员
     * @param param
     * @throws Exception
     */
    void editParam(Param param) throws Exception;

    /**
     * 根据id删除会员
     * @param paramId
     * @throws Exception
     */
    void deleteParam(String paramId) throws Exception;
}
